import request from '@/utils/request'

// 登录认证
export const loginApi = data => {
  return request({
    method: 'post',
    url: '/v1_0/authorizations',
    data
  })
}

// 获取短信验证码
export const getCodeApi = mobile => {
  return request({
    url: `/v1_0/sms/codes/${mobile}`
  })
}
